package pl.wr.molecule;

import pl.wr.core.IMass;
import pl.wr.core.IObjectProperties;
import pl.wr.molecule.units.MoleculeMass;

/**
 * Własciwosci czasteczki
 *
 * @version 1.0
 * @author wieslaw.rodak
 *
 */
public class MoleculeProperties implements IObjectProperties {

	private MoleculeMass mass;

	@Override
	public MoleculeMass getMass() {
		return mass;
	}

	@Override
	public void setMass(IMass mass) {
		this.mass = (MoleculeMass) mass;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder(32);
		builder.append("MoleculeProperties [mass=").append(mass).append(']');
		return builder.toString();
	}

}
